<div class="d3pipes_eachpipe" id="<{$mydirname}>_eachpipe">

	<{if $errors && $xoops_isadmin}>
		<{foreach from=$errors item="error"}>
			<div class="errorMsg"><{$error|escape|nl2br}></div>
		<{/foreach}>
	<{/if}>

	<{if $pipe.main_rss}>
	<div style="float:right;">
		<a href="<{$mod_url}>/index.php?page=xml&amp;style=atom&amp;pipe_id=<{$pipe.id}>"><img src="<{$mod_imageurl}>/icon_atom.gif" width="80" height="15" alt="ATOM" /></a>
		<a href="<{$mod_url}>/index.php?page=xml&amp;style=rss10&amp;pipe_id=<{$pipe.id}>"><img src="<{$mod_imageurl}>/icon_rss10.gif" width="80" height="15" alt="RSS 1.0" /></a>
		<a href="<{$mod_url}>/index.php?page=xml&amp;style=rss20&amp;pipe_id=<{$pipe.id}>"><img src="<{$mod_imageurl}>/icon_rss20.gif" width="80" height="15" alt="RSS 2.0" /></a>
	</div>
	<{/if}>

	<{if $xoops_isadmin}>
	<div style="float:right;"><a href="<{$mod_url}>/admin/index.php?page=pipe&amp;pipe_id=<{$pipe.id}>">[<{$smarty.const._EDIT}>]</a></div>
	<{/if}>

	<h2><{$pipe.name}> - <{$smarty.const._MD_D3PIPES_H2_EACHPIPE}></h2>

	<{if $pipe.url}>
	<p><a href="<{$pipe.url}>"><{$pipe.url}></a></p>
	<{/if}>

	<{if $pipe.description}>
	<div class="d3pipes_description"><{$pipe.description}></div>
	<{/if}>

	<{if $clipping_count > 0}>
		<div class="d3pipes_link_cliplist"><a href="<{$mod_url}>/index.php?page=cliplist&amp;pipe_id=<{$pipe.id}>"><{$clipping_count|string_format:$smarty.const._MD_D3PIPES_FMT_LINKTOCLIPLIST}></a></div>
	<{/if}>

	<{include file="db:`$mydirname`_inc_entries.html"}>

</div>
